/qemu/scsi/ |
H A D | pr-manager.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
H A D | pr-manager-helper.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/qom/ |
H A D | qom-hmp-cmds.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
H A D | object.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/hw/virtio/ |
H A D | virtio-pmem.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
H A D | virtio-crypto.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
H A D | virtio-mem.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/hw/core/ |
H A D | machine-qmp-cmds.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
H A D | machine.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/hw/mem/ |
H A D | nvdimm.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
H A D | pc-dimm.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/hw/ppc/ |
H A D | trace-events | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
H A D | spapr_drc.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/block/ |
H A D | throttle-groups.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/ |
H A D | iothread.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/backends/ |
H A D | hostmem.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/hw/arm/ |
H A D | xlnx-zynqmp.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/include/qom/ |
H A D | object.h | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/hw/misc/ |
H A D | ivshmem.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|
/qemu/net/ |
H A D | net.c | 7a309cc9 Tue Jul 14 16:02:00 GMT 2020 Markus Armbruster <armbru@redhat.com> qom: Change object_get_canonical_path_component() not to malloc
object_get_canonical_path_component() returns a malloced copy of a property name on success, null on failure.
19 of its 25 callers immediately free the returned copy.
Change object_get_canonical_path_component() to return the property name directly. Since modifying the name would be wrong, adjust the return type to const char *.
Drop the free from the 19 callers become simpler, add the g_strdup() to the other six.
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200714160202.3121879-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com>
|